<?php
	function login(){
		if(isset($_GET['action']) && isset($_POST['login']) && $_GET['action'] == 'login')
			$_SESSION['rightBanner'] = 'logout';
			$_SESSION['id'] = session_id();
			
	}

	function logout(){
		if(isset($_GET['action']) && $_GET['action'] == 'logout'){
			session_destroy();
			$_SESSION['rightBanner'] = 'login';
			
		}		
	}

	function register(){
		echo "test";		
	}
?>